Skip to content

Conversation

@bwitt
Copy link

@bwitt bwitt commented Nov 13, 2025

Fixes #1474

Requirements

All new code should be covered with tests, documentation should be updated. CI should pass.

Description of the Change

Return an error if we run out of disk space. Batch up the sync at the end of writing all files.

Checklist

  • unit-test added (if change is algorithm)
  • functional test added/updated (if change is functional)
  • man page updated (if applicable)
  • bash completion updated (if applicable)
  • documentation updated
  • author name in AUTHORS

@bwitt bwitt force-pushed the error_outofspace branch 2 times, most recently from 29895f0 to 60bc8f2 Compare November 13, 2025 23:45
@neolynx neolynx self-assigned this Nov 16, 2025
@neolynx neolynx requested a review from a team January 4, 2026 12:00
@neolynx
Copy link
Member

neolynx commented Jan 4, 2026

looks good !

could you add yourself to the AUTHORS file ?

@bwitt
Copy link
Author

bwitt commented Jan 4, 2026

Done! ls the added coverage enough?

@codecov
Copy link

codecov bot commented Jan 4, 2026

Codecov Report

❌ Patch coverage is 27.90698% with 31 lines in your changes missing coverage. Please review.
✅ Project coverage is 74.48%. Comparing base (31fe26d) to head (90f0a3d).

Files with missing lines Patch % Lines
api/files.go 30.00% 20 Missing and 1 partial ⚠️
files/public.go 23.07% 7 Missing and 3 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1504      +/-   ##
==========================================
- Coverage   74.90%   74.48%   -0.43%     
==========================================
  Files         160      160              
  Lines       18555    18592      +37     
==========================================
- Hits        13899    13848      -51     
- Misses       3504     3592      +88     
  Partials     1152     1152              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@bwitt bwitt force-pushed the error_outofspace branch 2 times, most recently from d73c2c8 to 949e41f Compare January 5, 2026 00:00
@bwitt bwitt force-pushed the error_outofspace branch from 949e41f to eac71af Compare January 5, 2026 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

increase coverage The PR lacks test coverage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Uploads return success when server is out of space

2 participants